package com.lex.manager.service;

import com.lex.manager.pojo.dto.PageParam;
import com.lex.manager.pojo.dto.UserCustomer;
import com.lex.manager.pojo.dto.UserCustomerResult;
import com.lex.manager.pojo.dto.UserQuery;
import com.lex.manager.pojo.po.User;

import java.util.List;

public interface UserService {
    User getUserByUid(Long uid);

    List<User> listUsers();

    UserCustomerResult<UserCustomer> listUserCustomerByPage(PageParam pageParam, UserQuery userQuery);

    UserCustomer getUserCustomerByUid(Long uid);

    int insertUser(User user);

    int deleteUserByUid(Long uid);

    int deleteBatchByIds(List<Long> ids);
}
